package com.tengju.bff.interfaces.covercharge.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author wangcheng
 * @date 2020/10/14
 * @description 服务费周期提现
 */
@Data
@ApiModel(value = "服务费周期提现结果")
public class ServiceWithdarwCycleAddVO implements Serializable {

    private static final long serialVersionUID = 8812424896614864511L;

    @ApiModelProperty(value = "服务费周期提现表id")
    private Integer id;

    @ApiModelProperty(value = "代理id_code")
    private Integer idCode;

    @ApiModelProperty(value = "账号id,service_account表的id")
    private Integer accountId;

    @ApiModelProperty(value = "累计金额")
    private BigDecimal total;

    @ApiModelProperty(value = "手续费比例")
    private BigDecimal ratio;

    @ApiModelProperty(value = "开始时间")
    private String startAt;

    @ApiModelProperty(value = "结束时间")
    private String endAt;

    @ApiModelProperty(value = "创建时间")
    private String createdAt;

    @ApiModelProperty(value = "更新时间戳")
    private String updatedAt;

    @ApiModelProperty(value = "打款状态： 0 未打款 2 已打款 5 打款失败")
    private Integer withdrawStatus;

    @ApiModelProperty(value = "打款时间")
    private String withdrawTime;

    @ApiModelProperty(value = "打款备注")
    private String remark;

    @ApiModelProperty(value = "网银流水号")
    private String bankFlow;

    @ApiModelProperty(value = "打款渠道")
    private String channel;

    @ApiModelProperty(value = "打款人")
    private String withdrawer;

    @ApiModelProperty("周期服务费明细汇总")
    private BigDecimal money;

    @ApiModelProperty(value = "所有代理周期服务费提现总额")
    private BigDecimal allTotal;

    @ApiModelProperty(value = "所有代理周期服务费提现明细汇总金额")
    private BigDecimal detailAllTotal;

    @ApiModelProperty(value = "差额")
    private BigDecimal shortfall;

}
